package com.zwt.result;

/**
 * Created by zwt on 2018/9/6.
 * 返回状态码 枚举 200:成功 400：失败 401：没有权限 跳转登录页
 */
public enum ResultCode {

    SUCCESS(200),FAIL(400),UNAUTHORIZED(401);

    private int code;

    ResultCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
